package com.winit.schedule.core.repository.entity;

import java.io.Serializable;

import com.winit.schedule.core.repository.constants.QuartzManagerType;

public class QuartzJobEntity implements Serializable {

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 2962782628392764146L;

    private String            taskTrackerUuid;

    private String            schedulerInstanceId;

    private String            jobName;

    private String            jobGroup;

    private String            triggerName;

    private String            triggerGroup;

    private String            cronExpression;

    private String            status;

    private long              lastStatusUpdateTime;

    private String            dealClass;

    private long              lastTriggerTime;

    private long              minRuntime;

    private long              maxRuntime;

    private long              avgRuntime;

    private int               runCount;

    private QuartzManagerType command;

    public String getTaskTrackerUuid() {
        return taskTrackerUuid;
    }

    public void setTaskTrackerUuid(String taskTrackerUuid) {
        this.taskTrackerUuid = taskTrackerUuid;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getJobGroup() {
        return jobGroup;
    }

    public void setJobGroup(String jobGroup) {
        this.jobGroup = jobGroup;
    }

    public String getCronExpression() {
        return cronExpression;
    }

    public void setCronExpression(String cronExpression) {
        this.cronExpression = cronExpression;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDealClass() {
        return dealClass;
    }

    public void setDealClass(String dealClass) {
        this.dealClass = dealClass;
    }

    public String getSchedulerInstanceId() {
        return schedulerInstanceId;
    }

    public void setSchedulerInstanceId(String schedulerInstanceId) {
        this.schedulerInstanceId = schedulerInstanceId;
    }

    public String getTriggerName() {
        return triggerName;
    }

    public void setTriggerName(String triggerName) {
        this.triggerName = triggerName;
    }

    public String getTriggerGroup() {
        return triggerGroup;
    }

    public void setTriggerGroup(String triggerGroup) {
        this.triggerGroup = triggerGroup;
    }

    public QuartzManagerType getCommand() {
        return command;
    }

    public void setCommand(QuartzManagerType command) {
        this.command = command;
    }

    public long getLastStatusUpdateTime() {
        return lastStatusUpdateTime;
    }

    public void setLastStatusUpdateTime(long lastStatusUpdateTime) {
        this.lastStatusUpdateTime = lastStatusUpdateTime;
    }

    public long getMinRuntime() {
        return minRuntime;
    }

    public void setMinRuntime(long minRuntime) {
        this.minRuntime = minRuntime;
    }

    public long getMaxRuntime() {
        return maxRuntime;
    }

    public void setMaxRuntime(long maxRuntime) {
        this.maxRuntime = maxRuntime;
    }

    public long getAvgRuntime() {
        return avgRuntime;
    }

    public void setAvgRuntime(long avgRuntime) {
        this.avgRuntime = avgRuntime;
    }

    public int getRunCount() {
        return runCount;
    }

    public void setRunCount(int runCount) {
        this.runCount = runCount;
    }

    public long getLastTriggerTime() {
        return lastTriggerTime;
    }

    public void setLastTriggerTime(long lastTriggerTime) {
        this.lastTriggerTime = lastTriggerTime;
    }

}
